package com.umpay.dao.online;

import java.util.List;

import org.springframework.dao.DataAccessException;

/**
 * 
<p>Title:AbstractOnlineDao</p>  
<p>Description: 在线库抽象dao</p>
<p>Company: UMPAY</p>
 @author lifeng
 @date 2018年1月17日
 */
public abstract interface AbstractOnlineDao<T> {

	public T find(T t) throws DataAccessException;
	
	public T get(T t) throws DataAccessException;

	public Integer findCount(T t) throws DataAccessException;

	public int update(T t) throws DataAccessException;

	public int insert(T t) throws DataAccessException;
	
	public List<T> query(T t) throws DataAccessException;
	
	public int insertSelective(T t) throws DataAccessException;
}
